/*
* 命名空间: Project.Model
*
* 功 能： T_LoanBack实体类
*
* 类 名： T_LoanBackEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_LoanBack")]
    public class T_LoanBackEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 日薪抵扣
        /// </summary>
        [DBFieldInfo(ByteLength = 12,DataLength = 12,DecimalDigits = 0,ColumnName = "FNO",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string FNO
        {
            get; set;
        }

        /// <summary>
        /// 月薪抵扣
        /// </summary>
        [DBFieldInfo(ByteLength = 12,DataLength = 12,DecimalDigits = 0,ColumnName = "MFNO",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string MFNO
        {
            get; set;
        }

        /// <summary>
        /// 报销抵扣
        /// </summary>
        [DBFieldInfo(ByteLength = 12,DataLength = 12,DecimalDigits = 0,ColumnName = "ExNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ExNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "LoanID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? LoanID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 50,DecimalDigits = 0,ColumnName = "UserName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "UserNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string UserNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "BackMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? BackMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "BackDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? BackDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }
    }
}
